import com.atguigu.bigdata.gmall.realtime.app.BaseAppV1;
import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @Author lzc
 * @Date 2022/10/11 10:42
 */
public class StreamConsumeUpsertKafka extends BaseAppV1 {
    public static void main(String[] args) {
        new StreamConsumeUpsertKafka().init(
            10000,
            2,
            "StreamConsumeUpsertKafka",
            "ab4"
        );
    }
    
    @Override
    protected void handle(StreamExecutionEnvironment env, DataStreamSource<String> stream) {
        stream.print();
    }
}
